﻿using System;
using System.Windows;
using System.Windows.Input;

namespace FAQ_UI.window
{
	/// <summary>
	/// SettingsWindow.xaml 的交互逻辑
	/// </summary>
	public partial class SettingsWindow : Window
	{
		public SettingsWindow()
		{
			InitializeComponent();
		}

		private void selectTab(object sender, MouseButtonEventArgs e)
		{
			//string name = ((FrameworkElement)sender).Name;
			string page = "";
			if (sender == TSelectServer) page = "SelectServer";
			if (sender == TPath) page = "SetPath";

			frame.Source = new Uri("/page/" + page + ".xaml", UriKind.Relative);
		}
	}
}